3542a84081d4500af7af8a8ae34b296b7f107782,src/net/java/sip/communicator/service/protocol/media/TransportManager.java,TransportManager,initializePortNumbers,#,290

Before Change


                    OperationSetBasicTelephony
                        .MAX_VIDEO_PORT_NUMBER_PROPERTY_NAME);
        //Try the specified range; otherwise, leave the tracker to null.
        if (videoPortTracker == null)
            videoPortTracker = PortTracker.createTracker(minPort, maxPort);
        else
            videoPortTracker.tryRange(minPort, maxPort);

        //try the AUDIO tracker
        minPort

After Change


            = cfg.getString(
                    OperationSetBasicTelephony
                        .MIN_VIDEO_PORT_NUMBER_PROPERTY_NAME);
        if (minPort != null)
        {
            maxPort
                = cfg.getString(
                        OperationSetBasicTelephony
                            .MAX_VIDEO_PORT_NUMBER_PROPERTY_NAME);
            if (maxPort != null)
            {
                //Try the specified range; otherwise, leave the tracker to null.
                if (videoPortTracker == null)
                {
                    videoPortTracker
                        = PortTracker.createTracker(minPort, maxPort);
                }
                else
                {
                    videoPortTracker.tryRange(minPort, maxPort);
                }
            }
        }